package org.lanqiao.tjut.service;

import java.util.List;

import org.lanqiao.tjut.bean.Student;

/**
 * @author Administrator
 *
 */
public class UserService {
	private List<Student> lstStu;

	/**
	 * 输出学生信息
	 */
	public void printStuInfo() {
		if (lstStu != null && lstStu.size() > 0) {
			System.out.println("学生信息：");
			for (Student student : lstStu) {
				System.out.println(student.toString());
			}

		} else {
			System.out.println("暂无学生信息");
		}
	}
	
	/**
	 * 输出学生信息
	 */
	public void showMeInfo() {
		if (lstStu != null && lstStu.size() > 0) {
			System.out.println("学生信息：");
			for (Student student : lstStu) {
				System.out.println(student.toString());
			}

		} else {
			System.out.println("暂无学生信息");
		}
	}

	public List<Student> getLstStu() {
		return lstStu;
	}

	public void setLstStu(List<Student> lstStu) {
		this.lstStu = lstStu;
	}
	
	
}
